// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_COMMON_ITEM
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstCommonItemTable : TableInfo
    {
		public const string C_TableName = "MST_COMMON_ITEM";
		
		public const string C_ITEM_CODE = "ITEM_CODE";
		public const string C_ITEM_NAME = "ITEM_NAME";
		public const string C_ITEM_TYPE = "ITEM_TYPE";
		public const string C_ITEM_VALUE = "ITEM_VALUE";
		public const string C_IS_DELETED = "IS_DELETED";
		public const string C_REMARK = "REMARK";
		
		public MstCommonItemTable()
        {
            _tableName = "MST_COMMON_ITEM";
        }
		
		protected static MstCommonItemTable _current;
        public static MstCommonItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstCommonItemTable();

            _current.Add(C_ITEM_CODE, new ColumnInfo(C_ITEM_CODE,"ItemCode", true, typeof(string)));
            _current.Add(C_ITEM_NAME, new ColumnInfo(C_ITEM_NAME,"ItemName", false, typeof(string)));
            _current.Add(C_ITEM_TYPE, new ColumnInfo(C_ITEM_TYPE,"ItemType", false, typeof(string)));
            _current.Add(C_ITEM_VALUE, new ColumnInfo(C_ITEM_VALUE,"ItemValue", false, typeof(string)));
            _current.Add(C_IS_DELETED, new ColumnInfo(C_IS_DELETED,"IsDeleted", false, typeof(int)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ITEM_CODE
        {
            get { return this[C_ITEM_CODE]; }
        }
		
		public ColumnInfo ITEM_NAME
        {
            get { return this[C_ITEM_NAME]; }
        }
		
		public ColumnInfo ITEM_TYPE
        {
            get { return this[C_ITEM_TYPE]; }
        }
		
		public ColumnInfo ITEM_VALUE
        {
            get { return this[C_ITEM_VALUE]; }
        }
		
		public ColumnInfo IS_DELETED
        {
            get { return this[C_IS_DELETED]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

